import Title from "antd/es/typography/Title";
import {
  QuestionInputDefaultProps,
  type QuestionInputPropsType,
} from "./interface";
import { Input } from "antd";
import Paragraph from "antd/es/typography/Paragraph";

export default function QuestionInput(props: QuestionInputPropsType) {
  const { title, placeholder } = { ...QuestionInputDefaultProps, ...props };
  return (
    <div>
      <Paragraph strong>{title}</Paragraph>
      <div>
        <Input placeholder={placeholder} />
      </div>
    </div>
  );
}
